<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDP Help: D:/doxy/PublicAPI/ATGeometrySet/ATBsplineCurve.h 源文件</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDP Help<span id="projectnumber">&#160;2.04.01</span>
   </div>
   <div id="projectbrief">仅供测试</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_52a01df1794e5beec01860bdd05aea48.html">PublicAPI</a></li><li class="navelem"><a class="el" href="../../dir_3ae1ea863de6943fe2c5c18439480f66.html">ATGeometrySet</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">ATBsplineCurve.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span>BEGIN_ATEC_NAMESPACE</div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span> </div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="keyword">struct </span>RefCountedATBsplineCurve;</div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="keyword">typedef</span> RefCountedPtr &lt;RefCountedATBsplineCurve&gt; ATBsplineCurvePtr;</div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="keyword">typedef</span> <span class="keywordtype">int</span> ATBsplineStatus;</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"><a class="line" href="../../d3/df5/struct_a_t_bspline_curve.html">   14</a></span><span class="keyword">struct </span><a class="code hl_struct" href="../../d3/df5/struct_a_t_bspline_curve.html">ATBsplineCurve</a></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span>{</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span>    int32_t             type;</div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span>    int32_t             rational;</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span>    BsplineDisplay      display;</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span>    BsplineParam        params;</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span>    <a class="code hl_struct" href="../../d5/d5b/struct_x_point3d.html">XPoint3d</a>            *poles;</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span>    <span class="keywordtype">double</span>              *knots;</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span>    <span class="keywordtype">double</span>              *weights;</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span> </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span> </div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="../../d3/df5/struct_a_t_bspline_curve.html#a33a2d50ae25ce29bc34746f22585080a">   39</a></span>    ATGEOSET_EXPORT <span class="keyword">static</span> ATBsplineCurvePtr <a class="code hl_function" href="../../d3/df5/struct_a_t_bspline_curve.html#a33a2d50ae25ce29bc34746f22585080a">CreateFromPolesAndOrder</a></div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span>    (</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span>        xvector&lt;XPoint3d&gt; <span class="keyword">const</span> &amp;poles,</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span>        xvector&lt;double&gt; <span class="keyword">const</span> *weights,</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span>        xvector&lt;double&gt; <span class="keyword">const</span> *knots,</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span>        <span class="keywordtype">int</span> order,</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span>        <span class="keywordtype">bool</span> closed,</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span>        <span class="keywordtype">bool</span> inputPolesAlreadyWeighted</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span>    );</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span> </div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"><a class="line" href="../../d3/df5/struct_a_t_bspline_curve.html#a857c47f65d3196389b33d74b01386ada">   59</a></span>    ATGEOSET_EXPORT <span class="keyword">static</span> ATBsplineCurvePtr <a class="code hl_function" href="../../d3/df5/struct_a_t_bspline_curve.html#a857c47f65d3196389b33d74b01386ada">CreateFromPolesAndOrder</a></div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span>    (</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span>        XPoint3dCP poles,</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span>        <span class="keywordtype">int</span> numPoles,</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span>        <span class="keywordtype">int</span> order,</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span>        <span class="keywordtype">bool</span> closed = <span class="keyword">false</span></div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span>    );</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span> </div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"><a class="line" href="../../d3/df5/struct_a_t_bspline_curve.html#ac70754249757d1aaa85b7119041284e1">   77</a></span>    ATGEOSET_EXPORT <span class="keyword">static</span> ATBsplineCurvePtr <a class="code hl_function" href="../../d3/df5/struct_a_t_bspline_curve.html#ac70754249757d1aaa85b7119041284e1">CreateFromPolesAndOrder</a></div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span>    (</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span>        XPoint2dCP poles,</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span>        <span class="keywordtype">int</span> numPoles,</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span>        <span class="keywordtype">int</span> order,</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span>        <span class="keywordtype">bool</span> closed = <span class="keyword">false</span></div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span>    );</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span> </div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"><a class="line" href="../../d3/df5/struct_a_t_bspline_curve.html#a66ee4982c3ef4ed76c1528787ab5a51a">   93</a></span>    ATGEOSET_EXPORT ATBsplineCurvePtr <a class="code hl_function" href="../../d3/df5/struct_a_t_bspline_curve.html#a66ee4982c3ef4ed76c1528787ab5a51a">CreateCopyBetweenFractions</a>(<span class="keywordtype">double</span> fraction0, <span class="keywordtype">double</span> fraction1) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno">   94</span> </div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"><a class="line" href="../../d3/df5/struct_a_t_bspline_curve.html#a10cb954c7c2ca3dedf3766c8a2cebb20">  106</a></span>    <span class="keyword">static</span> ATGEOSET_EXPORT ATBsplineCurvePtr <a class="code hl_function" href="../../d3/df5/struct_a_t_bspline_curve.html#a10cb954c7c2ca3dedf3766c8a2cebb20">CreateFromInterpolationAtGrevilleKnots</a></div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno">  107</span>    (</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span>        IBasicCurveCR curve,</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno">  109</span>        <span class="keywordtype">size_t</span> numPoles,</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno">  110</span>        <span class="keywordtype">int</span> order,</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno">  111</span>        <span class="keywordtype">bool</span> normalizeKnots,</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno">  112</span>        <span class="keywordtype">int</span> knotSelector = 0</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno">  113</span>    );</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno">  114</span> </div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"><a class="line" href="../../d3/df5/struct_a_t_bspline_curve.html#aaa75c03d6d0739f205e40cb9ac0d084a">  123</a></span>    ATGEOSET_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/df5/struct_a_t_bspline_curve.html#aaa75c03d6d0739f205e40cb9ac0d084a">FractionToPoint</a>(XPoint3dR xyz, <span class="keywordtype">double</span> f) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno">  124</span> </div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"><a class="line" href="../../d3/df5/struct_a_t_bspline_curve.html#a7bfc03ece005b86c8fcf17416db89f0a">  134</a></span>    ATGEOSET_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/df5/struct_a_t_bspline_curve.html#a7bfc03ece005b86c8fcf17416db89f0a">FractionToPoint</a>(XPoint3dR xyz, XVec3dR tangent, <span class="keywordtype">double</span> f) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno">  135</span> </div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"><a class="line" href="../../d3/df5/struct_a_t_bspline_curve.html#a653f09324a2aecf1a94c169f2c98c2b5">  143</a></span>    ATGEOSET_EXPORT <a class="code hl_struct" href="../../d5/d5b/struct_x_point3d.html">XPoint3d</a> <a class="code hl_function" href="../../d3/df5/struct_a_t_bspline_curve.html#a653f09324a2aecf1a94c169f2c98c2b5">GetPole</a>(<span class="keywordtype">size_t</span> index) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno">  144</span> </div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"><a class="line" href="../../d3/df5/struct_a_t_bspline_curve.html#a2f90ec8f70b4818f8dbfe38840f8a9b7">  152</a></span>    ATGEOSET_EXPORT <a class="code hl_struct" href="../../d5/d5b/struct_x_point3d.html">XPoint3d</a> <a class="code hl_function" href="../../d3/df5/struct_a_t_bspline_curve.html#a2f90ec8f70b4818f8dbfe38840f8a9b7">GetPole</a>(<span class="keywordtype">int</span> index) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno">  153</span> </div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"><a class="line" href="../../d3/df5/struct_a_t_bspline_curve.html#ae87887e721ef546d94538e41780fa5e6">  163</a></span>    ATGEOSET_EXPORT <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d3/df5/struct_a_t_bspline_curve.html#ae87887e721ef546d94538e41780fa5e6">SetReWeightedPole</a>(<span class="keywordtype">size_t</span> index, XPoint3dCR value, <span class="keywordtype">bool</span> reverse = <span class="keyword">false</span>);</div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno">  164</span> </div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"><a class="line" href="../../d3/df5/struct_a_t_bspline_curve.html#a728c5ef0ab62e0bf56d4ef0a508c9f14">  174</a></span>    ATGEOSET_EXPORT <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d3/df5/struct_a_t_bspline_curve.html#a728c5ef0ab62e0bf56d4ef0a508c9f14">SetReWeightedPole</a>(<span class="keywordtype">int</span> index, XPoint3dCR value, <span class="keywordtype">bool</span> reverse = <span class="keyword">false</span>);</div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno">  175</span> </div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"><a class="line" href="../../d3/df5/struct_a_t_bspline_curve.html#a7efdc01105bd864834c1381be252b735">  183</a></span>    ATGEOSET_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/df5/struct_a_t_bspline_curve.html#a7efdc01105bd864834c1381be252b735">GetUnWeightedPoles</a>(xvector&lt;XPoint3d&gt; &amp;outData) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno">  184</span> </div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"><a class="line" href="../../d3/df5/struct_a_t_bspline_curve.html#afd6e6576b126124963f704e7587db48c">  192</a></span>    ATGEOSET_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/df5/struct_a_t_bspline_curve.html#afd6e6576b126124963f704e7587db48c">GetPoles</a>(xvector&lt;XPoint3d&gt; &amp;outData) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno">  193</span> </div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"><a class="line" href="../../d3/df5/struct_a_t_bspline_curve.html#a02d11226d39869a23da08d76d8671a12">  200</a></span>    ATGEOSET_EXPORT <span class="keywordtype">int</span> <a class="code hl_function" href="../../d3/df5/struct_a_t_bspline_curve.html#a02d11226d39869a23da08d76d8671a12">GetIntNumPoles</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno">  201</span> </div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"><a class="line" href="../../d3/df5/struct_a_t_bspline_curve.html#a2edf9185905d69fb7a0aaeddca0ad88a">  208</a></span>    ATGEOSET_EXPORT <span class="keywordtype">double</span> <a class="code hl_function" href="../../d3/df5/struct_a_t_bspline_curve.html#a2edf9185905d69fb7a0aaeddca0ad88a">Length</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno">  209</span> </div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"><a class="line" href="../../d3/df5/struct_a_t_bspline_curve.html#a7335b55ade47ca8c3a792b5d90a519cd">  217</a></span>    ATGEOSET_EXPORT <span class="keywordtype">double</span> <a class="code hl_function" href="../../d3/df5/struct_a_t_bspline_curve.html#a7335b55ade47ca8c3a792b5d90a519cd">Length</a>(XRotMatrixCP worldToLocal) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno">  218</span> </div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"><a class="line" href="../../d3/df5/struct_a_t_bspline_curve.html#a977b5145c62c4c49f79284dd05f3b90b">  228</a></span>    ATGEOSET_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/df5/struct_a_t_bspline_curve.html#a977b5145c62c4c49f79284dd05f3b90b">AddPlaneIntersections</a>(xvector&lt;XPoint3d&gt;* points, xvector&lt;double&gt; *fractionParameters, XPlane3dCR plane) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno">  229</span> </div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"><a class="line" href="../../d3/df5/struct_a_t_bspline_curve.html#a77f97ba56a4960ba8137d91c5cdf5dc4">  239</a></span>    ATGEOSET_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/df5/struct_a_t_bspline_curve.html#a77f97ba56a4960ba8137d91c5cdf5dc4">AddPlaneIntersections</a>(xvector&lt;XPoint3d&gt;* points, xvector&lt;double&gt; *fractionParameters, XPoint4dCR planeCoffs) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno">  240</span> </div>
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"><a class="line" href="../../d3/df5/struct_a_t_bspline_curve.html#a484c19335e9a87374643e6999ec52540">  254</a></span>    ATGEOSET_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/df5/struct_a_t_bspline_curve.html#a484c19335e9a87374643e6999ec52540">AddLineIntersectionsXY</a>(xvector&lt;XPoint3d&gt; *curvePoints, xvector&lt;double&gt; *curveFractions,</div>
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno">  255</span>        xvector&lt;XPoint3d&gt; *linePoints, xvector&lt;double&gt; *lineFractions,</div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno">  256</span>        XSegment3dCR segment, <span class="keywordtype">bool</span> extendSeg, XMatrix4dCP matrix) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno">  257</span> </div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"><a class="line" href="../../d3/df5/struct_a_t_bspline_curve.html#a706a8ec64e79709af86ebc890792466f">  266</a></span>    ATGEOSET_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/df5/struct_a_t_bspline_curve.html#a706a8ec64e79709af86ebc890792466f">ExtractEndPoints</a>(XPoint3dR start, XPoint3dR end) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno">  267</span> </div>
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"><a class="line" href="../../d3/df5/struct_a_t_bspline_curve.html#aa74447a10354e929146c090189c221ed">  279</a></span>    ATGEOSET_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/df5/struct_a_t_bspline_curve.html#aa74447a10354e929146c090189c221ed">AddStrokes</a>(xvector &lt;XPoint3d&gt; &amp;points,</div>
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno">  280</span>        <span class="keywordtype">double</span> chordTol = 0.0, <span class="keywordtype">double</span> angleTol = 0.20, <span class="keywordtype">double</span> maxEdgeLength = 0.0, <span class="keywordtype">bool</span> includeStartPoint = <span class="keyword">true</span>) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno">  281</span> </div>
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"><a class="line" href="../../d3/df5/struct_a_t_bspline_curve.html#a752a017b070795287d8d5af7cba4b7ad">  291</a></span>    ATGEOSET_EXPORT <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d3/df5/struct_a_t_bspline_curve.html#a752a017b070795287d8d5af7cba4b7ad">PointsAtUniformArcLength</a>(xvector &lt;XPoint3d&gt; &amp;points, xvector&lt;double&gt; &amp;fractions, <span class="keywordtype">size_t</span> numPoints) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno">  292</span> </div>
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno"><a class="line" href="../../d3/df5/struct_a_t_bspline_curve.html#a13bc147e12227f32ecee3af89e787011">  302</a></span>    ATGEOSET_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/df5/struct_a_t_bspline_curve.html#a13bc147e12227f32ecee3af89e787011">ClosestPoint</a>(XPoint3dR curvePoint, <span class="keywordtype">double</span> &amp;fraction, XPoint3dCR spacePoint) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno">  303</span> </div>
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno"><a class="line" href="../../d3/df5/struct_a_t_bspline_curve.html#a6201db1ee95266acea6dbcef3194b28b">  315</a></span>    <span class="keyword">static</span> ATGEOSET_EXPORT ATBsplineCurvePtr <a class="code hl_function" href="../../d3/df5/struct_a_t_bspline_curve.html#a6201db1ee95266acea6dbcef3194b28b">CreateFromInterpolationAtBasisFunctionPeaks</a>(xvector&lt;XPoint3d&gt;<span class="keyword">const</span> &amp;xyz, <span class="keywordtype">size_t</span> order, <span class="keywordtype">int</span> knotType = 0);</div>
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno"><a class="line" href="../../d3/df5/struct_a_t_bspline_curve.html#ae1de2d04fa580a2ab0e4c12fae0a3040">  324</a></span>    ATGEOSET_EXPORT <span class="keywordtype">size_t</span> <a class="code hl_function" href="../../d3/df5/struct_a_t_bspline_curve.html#ae1de2d04fa580a2ab0e4c12fae0a3040">GetOrder</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno">  325</span> </div>
<div class="line"><a id="l00332" name="l00332"></a><span class="lineno"><a class="line" href="../../d3/df5/struct_a_t_bspline_curve.html#a7979ed273ed770c0bd09632487c5aa87">  332</a></span>    ATGEOSET_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/df5/struct_a_t_bspline_curve.html#a7979ed273ed770c0bd09632487c5aa87">GetDisjointCurves</a>(xvector&lt;ATBsplineCurvePtr&gt; &amp;curves) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno">  333</span> </div>
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno"><a class="line" href="../../d3/df5/struct_a_t_bspline_curve.html#a6e37b71f89cee2bb532d8ba96b1e03f0">  340</a></span>    ATGEOSET_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/df5/struct_a_t_bspline_curve.html#a6e37b71f89cee2bb532d8ba96b1e03f0">GetC1DiscontinuousCurves</a>(xvector&lt;double&gt; &amp;fractions, xvector&lt;ATBsplineCurvePtr&gt; &amp;curves) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno">  341</span> </div>
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno"><a class="line" href="../../d3/df5/struct_a_t_bspline_curve.html#a830a192065d9b3f8a21dadd1145b3db0">  343</a></span>    ATGEOSET_EXPORT ATBsplineStatus <a class="code hl_function" href="../../d3/df5/struct_a_t_bspline_curve.html#a830a192065d9b3f8a21dadd1145b3db0">InitFromPoints</a>(XPoint3dCP points, <span class="keywordtype">int</span> nPoints);</div>
<div class="line"><a id="l00344" name="l00344"></a><span class="lineno">  344</span>};</div>
<div class="line"><a id="l00345" name="l00345"></a><span class="lineno">  345</span> </div>
<div class="line"><a id="l00346" name="l00346"></a><span class="lineno">  346</span><span class="keyword">struct </span>RefCountedATBsplineCurve : <span class="keyword">public</span> <a class="code hl_struct" href="../../d3/df5/struct_a_t_bspline_curve.html">ATBsplineCurve</a>, RefCountedBase</div>
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno">  347</span>{</div>
<div class="line"><a id="l00348" name="l00348"></a><span class="lineno">  348</span><span class="keyword">protected</span>:</div>
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno">  349</span>    RefCountedATBsplineCurve();</div>
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno">  350</span>    ~RefCountedATBsplineCurve();</div>
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno">  351</span>};</div>
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno">  352</span> </div>
<div class="line"><a id="l00353" name="l00353"></a><span class="lineno">  353</span>END_ATEC_NAMESPACE</div>
<div class="line"><a id="l00354" name="l00354"></a><span class="lineno">  354</span> </div>
<div class="ttc" id="astruct_a_t_bspline_curve_html"><div class="ttname"><a href="../../d3/df5/struct_a_t_bspline_curve.html">ATBsplineCurve</a></div><div class="ttdoc">B样条曲线</div><div class="ttdef"><b>Definition:</b> ATBsplineCurve.h:15</div></div>
<div class="ttc" id="astruct_a_t_bspline_curve_html_a02d11226d39869a23da08d76d8671a12"><div class="ttname"><a href="../../d3/df5/struct_a_t_bspline_curve.html#a02d11226d39869a23da08d76d8671a12">ATBsplineCurve::GetIntNumPoles</a></div><div class="ttdeci">ATGEOSET_EXPORT int GetIntNumPoles() const</div><div class="ttdoc">获取极点个数</div></div>
<div class="ttc" id="astruct_a_t_bspline_curve_html_a10cb954c7c2ca3dedf3766c8a2cebb20"><div class="ttname"><a href="../../d3/df5/struct_a_t_bspline_curve.html#a10cb954c7c2ca3dedf3766c8a2cebb20">ATBsplineCurve::CreateFromInterpolationAtGrevilleKnots</a></div><div class="ttdeci">static ATGEOSET_EXPORT ATBsplineCurvePtr CreateFromInterpolationAtGrevilleKnots(IBasicCurveCR curve, size_t numPoles, int order, bool normalizeKnots, int knotSelector=0)</div><div class="ttdoc">创建一个近似于BasicCurve的样条曲线</div></div>
<div class="ttc" id="astruct_a_t_bspline_curve_html_a13bc147e12227f32ecee3af89e787011"><div class="ttname"><a href="../../d3/df5/struct_a_t_bspline_curve.html#a13bc147e12227f32ecee3af89e787011">ATBsplineCurve::ClosestPoint</a></div><div class="ttdeci">ATGEOSET_EXPORT void ClosestPoint(XPoint3dR curvePoint, double &amp;fraction, XPoint3dCR spacePoint) const</div><div class="ttdoc">获取曲线上离给定点最接近的点和对应的分数参数</div></div>
<div class="ttc" id="astruct_a_t_bspline_curve_html_a2edf9185905d69fb7a0aaeddca0ad88a"><div class="ttname"><a href="../../d3/df5/struct_a_t_bspline_curve.html#a2edf9185905d69fb7a0aaeddca0ad88a">ATBsplineCurve::Length</a></div><div class="ttdeci">ATGEOSET_EXPORT double Length() const</div><div class="ttdoc">计算B样条曲线的长度</div></div>
<div class="ttc" id="astruct_a_t_bspline_curve_html_a2f90ec8f70b4818f8dbfe38840f8a9b7"><div class="ttname"><a href="../../d3/df5/struct_a_t_bspline_curve.html#a2f90ec8f70b4818f8dbfe38840f8a9b7">ATBsplineCurve::GetPole</a></div><div class="ttdeci">ATGEOSET_EXPORT XPoint3d GetPole(int index) const</div><div class="ttdoc">通过索引返回极点，如果超出范围返回0</div></div>
<div class="ttc" id="astruct_a_t_bspline_curve_html_a33a2d50ae25ce29bc34746f22585080a"><div class="ttname"><a href="../../d3/df5/struct_a_t_bspline_curve.html#a33a2d50ae25ce29bc34746f22585080a">ATBsplineCurve::CreateFromPolesAndOrder</a></div><div class="ttdeci">static ATGEOSET_EXPORT ATBsplineCurvePtr CreateFromPolesAndOrder(xvector&lt; XPoint3d &gt; const &amp;poles, xvector&lt; double &gt; const *weights, xvector&lt; double &gt; const *knots, int order, bool closed, bool inputPolesAlreadyWeighted)</div><div class="ttdoc">用直接提供的极点、系数和节点生成B样条曲线并返回智能指针</div></div>
<div class="ttc" id="astruct_a_t_bspline_curve_html_a484c19335e9a87374643e6999ec52540"><div class="ttname"><a href="../../d3/df5/struct_a_t_bspline_curve.html#a484c19335e9a87374643e6999ec52540">ATBsplineCurve::AddLineIntersectionsXY</a></div><div class="ttdeci">ATGEOSET_EXPORT void AddLineIntersectionsXY(xvector&lt; XPoint3d &gt; *curvePoints, xvector&lt; double &gt; *curveFractions, xvector&lt; XPoint3d &gt; *linePoints, xvector&lt; double &gt; *lineFractions, XSegment3dCR segment, bool extendSeg, XMatrix4dCP matrix) const</div><div class="ttdoc">在XY方向上计算与直线的交点</div></div>
<div class="ttc" id="astruct_a_t_bspline_curve_html_a6201db1ee95266acea6dbcef3194b28b"><div class="ttname"><a href="../../d3/df5/struct_a_t_bspline_curve.html#a6201db1ee95266acea6dbcef3194b28b">ATBsplineCurve::CreateFromInterpolationAtBasisFunctionPeaks</a></div><div class="ttdeci">static ATGEOSET_EXPORT ATBsplineCurvePtr CreateFromInterpolationAtBasisFunctionPeaks(xvector&lt; XPoint3d &gt;const &amp;xyz, size_t order, int knotType=0)</div><div class="ttdoc">使用Lim拟合条件创建B样条曲线</div></div>
<div class="ttc" id="astruct_a_t_bspline_curve_html_a653f09324a2aecf1a94c169f2c98c2b5"><div class="ttname"><a href="../../d3/df5/struct_a_t_bspline_curve.html#a653f09324a2aecf1a94c169f2c98c2b5">ATBsplineCurve::GetPole</a></div><div class="ttdeci">ATGEOSET_EXPORT XPoint3d GetPole(size_t index) const</div><div class="ttdoc">通过索引返回极点，如果超出范围返回0</div></div>
<div class="ttc" id="astruct_a_t_bspline_curve_html_a66ee4982c3ef4ed76c1528787ab5a51a"><div class="ttname"><a href="../../d3/df5/struct_a_t_bspline_curve.html#a66ee4982c3ef4ed76c1528787ab5a51a">ATBsplineCurve::CreateCopyBetweenFractions</a></div><div class="ttdeci">ATGEOSET_EXPORT ATBsplineCurvePtr CreateCopyBetweenFractions(double fraction0, double fraction1) const</div><div class="ttdoc">复制曲线指定分数参数之间的部分</div></div>
<div class="ttc" id="astruct_a_t_bspline_curve_html_a6e37b71f89cee2bb532d8ba96b1e03f0"><div class="ttname"><a href="../../d3/df5/struct_a_t_bspline_curve.html#a6e37b71f89cee2bb532d8ba96b1e03f0">ATBsplineCurve::GetC1DiscontinuousCurves</a></div><div class="ttdeci">ATGEOSET_EXPORT void GetC1DiscontinuousCurves(xvector&lt; double &gt; &amp;fractions, xvector&lt; ATBsplineCurvePtr &gt; &amp;curves) const</div><div class="ttdoc">创建在点或切线变化处分割的各段的拷贝</div></div>
<div class="ttc" id="astruct_a_t_bspline_curve_html_a706a8ec64e79709af86ebc890792466f"><div class="ttname"><a href="../../d3/df5/struct_a_t_bspline_curve.html#a706a8ec64e79709af86ebc890792466f">ATBsplineCurve::ExtractEndPoints</a></div><div class="ttdeci">ATGEOSET_EXPORT void ExtractEndPoints(XPoint3dR start, XPoint3dR end) const</div><div class="ttdoc">获取B样条曲线的起始或终止端点</div></div>
<div class="ttc" id="astruct_a_t_bspline_curve_html_a728c5ef0ab62e0bf56d4ef0a508c9f14"><div class="ttname"><a href="../../d3/df5/struct_a_t_bspline_curve.html#a728c5ef0ab62e0bf56d4ef0a508c9f14">ATBsplineCurve::SetReWeightedPole</a></div><div class="ttdeci">ATGEOSET_EXPORT bool SetReWeightedPole(int index, XPoint3dCR value, bool reverse=false)</div><div class="ttdoc">根据索引设定极点，如果索引超出范围，返回false</div></div>
<div class="ttc" id="astruct_a_t_bspline_curve_html_a7335b55ade47ca8c3a792b5d90a519cd"><div class="ttname"><a href="../../d3/df5/struct_a_t_bspline_curve.html#a7335b55ade47ca8c3a792b5d90a519cd">ATBsplineCurve::Length</a></div><div class="ttdeci">ATGEOSET_EXPORT double Length(XRotMatrixCP worldToLocal) const</div><div class="ttdoc">计算经过变换的曲线长度</div></div>
<div class="ttc" id="astruct_a_t_bspline_curve_html_a752a017b070795287d8d5af7cba4b7ad"><div class="ttname"><a href="../../d3/df5/struct_a_t_bspline_curve.html#a752a017b070795287d8d5af7cba4b7ad">ATBsplineCurve::PointsAtUniformArcLength</a></div><div class="ttdeci">ATGEOSET_EXPORT bool PointsAtUniformArcLength(xvector&lt; XPoint3d &gt; &amp;points, xvector&lt; double &gt; &amp;fractions, size_t numPoints) const</div><div class="ttdoc">计算在均分角度上的点</div></div>
<div class="ttc" id="astruct_a_t_bspline_curve_html_a77f97ba56a4960ba8137d91c5cdf5dc4"><div class="ttname"><a href="../../d3/df5/struct_a_t_bspline_curve.html#a77f97ba56a4960ba8137d91c5cdf5dc4">ATBsplineCurve::AddPlaneIntersections</a></div><div class="ttdeci">ATGEOSET_EXPORT void AddPlaneIntersections(xvector&lt; XPoint3d &gt; *points, xvector&lt; double &gt; *fractionParameters, XPoint4dCR planeCoffs) const</div><div class="ttdoc">计算与平面的交点</div></div>
<div class="ttc" id="astruct_a_t_bspline_curve_html_a7979ed273ed770c0bd09632487c5aa87"><div class="ttname"><a href="../../d3/df5/struct_a_t_bspline_curve.html#a7979ed273ed770c0bd09632487c5aa87">ATBsplineCurve::GetDisjointCurves</a></div><div class="ttdeci">ATGEOSET_EXPORT void GetDisjointCurves(xvector&lt; ATBsplineCurvePtr &gt; &amp;curves) const</div><div class="ttdoc">创建在不相交节点分割的各段的拷贝</div></div>
<div class="ttc" id="astruct_a_t_bspline_curve_html_a7bfc03ece005b86c8fcf17416db89f0a"><div class="ttname"><a href="../../d3/df5/struct_a_t_bspline_curve.html#a7bfc03ece005b86c8fcf17416db89f0a">ATBsplineCurve::FractionToPoint</a></div><div class="ttdeci">ATGEOSET_EXPORT void FractionToPoint(XPoint3dR xyz, XVec3dR tangent, double f) const</div><div class="ttdoc">B样条曲线上指定点的分数参数</div></div>
<div class="ttc" id="astruct_a_t_bspline_curve_html_a7efdc01105bd864834c1381be252b735"><div class="ttname"><a href="../../d3/df5/struct_a_t_bspline_curve.html#a7efdc01105bd864834c1381be252b735">ATBsplineCurve::GetUnWeightedPoles</a></div><div class="ttdeci">ATGEOSET_EXPORT void GetUnWeightedPoles(xvector&lt; XPoint3d &gt; &amp;outData) const</div><div class="ttdoc">获取分离权重参数后的极点</div></div>
<div class="ttc" id="astruct_a_t_bspline_curve_html_a830a192065d9b3f8a21dadd1145b3db0"><div class="ttname"><a href="../../d3/df5/struct_a_t_bspline_curve.html#a830a192065d9b3f8a21dadd1145b3db0">ATBsplineCurve::InitFromPoints</a></div><div class="ttdeci">ATGEOSET_EXPORT ATBsplineStatus InitFromPoints(XPoint3dCP points, int nPoints)</div><div class="ttdoc">Create the B-spline curve from point array and order.</div></div>
<div class="ttc" id="astruct_a_t_bspline_curve_html_a857c47f65d3196389b33d74b01386ada"><div class="ttname"><a href="../../d3/df5/struct_a_t_bspline_curve.html#a857c47f65d3196389b33d74b01386ada">ATBsplineCurve::CreateFromPolesAndOrder</a></div><div class="ttdeci">static ATGEOSET_EXPORT ATBsplineCurvePtr CreateFromPolesAndOrder(XPoint3dCP poles, int numPoles, int order, bool closed=false)</div><div class="ttdoc">用直接提供的极点、系数和节点生成B样条曲线并返回智能指针</div></div>
<div class="ttc" id="astruct_a_t_bspline_curve_html_a977b5145c62c4c49f79284dd05f3b90b"><div class="ttname"><a href="../../d3/df5/struct_a_t_bspline_curve.html#a977b5145c62c4c49f79284dd05f3b90b">ATBsplineCurve::AddPlaneIntersections</a></div><div class="ttdeci">ATGEOSET_EXPORT void AddPlaneIntersections(xvector&lt; XPoint3d &gt; *points, xvector&lt; double &gt; *fractionParameters, XPlane3dCR plane) const</div><div class="ttdoc">计算与平面的交点</div></div>
<div class="ttc" id="astruct_a_t_bspline_curve_html_aa74447a10354e929146c090189c221ed"><div class="ttname"><a href="../../d3/df5/struct_a_t_bspline_curve.html#aa74447a10354e929146c090189c221ed">ATBsplineCurve::AddStrokes</a></div><div class="ttdeci">ATGEOSET_EXPORT void AddStrokes(xvector&lt; XPoint3d &gt; &amp;points, double chordTol=0.0, double angleTol=0.20, double maxEdgeLength=0.0, bool includeStartPoint=true) const</div><div class="ttdoc">计算近似路径</div></div>
<div class="ttc" id="astruct_a_t_bspline_curve_html_aaa75c03d6d0739f205e40cb9ac0d084a"><div class="ttname"><a href="../../d3/df5/struct_a_t_bspline_curve.html#aaa75c03d6d0739f205e40cb9ac0d084a">ATBsplineCurve::FractionToPoint</a></div><div class="ttdeci">ATGEOSET_EXPORT void FractionToPoint(XPoint3dR xyz, double f) const</div><div class="ttdoc">B样条曲线上指定点的分数参数</div></div>
<div class="ttc" id="astruct_a_t_bspline_curve_html_ac70754249757d1aaa85b7119041284e1"><div class="ttname"><a href="../../d3/df5/struct_a_t_bspline_curve.html#ac70754249757d1aaa85b7119041284e1">ATBsplineCurve::CreateFromPolesAndOrder</a></div><div class="ttdeci">static ATGEOSET_EXPORT ATBsplineCurvePtr CreateFromPolesAndOrder(XPoint2dCP poles, int numPoles, int order, bool closed=false)</div><div class="ttdoc">用直接提供的极点、系数和节点生成B样条曲线并返回智能指针</div></div>
<div class="ttc" id="astruct_a_t_bspline_curve_html_ae1de2d04fa580a2ab0e4c12fae0a3040"><div class="ttname"><a href="../../d3/df5/struct_a_t_bspline_curve.html#ae1de2d04fa580a2ab0e4c12fae0a3040">ATBsplineCurve::GetOrder</a></div><div class="ttdeci">ATGEOSET_EXPORT size_t GetOrder() const</div><div class="ttdoc">返回曲线阶数</div></div>
<div class="ttc" id="astruct_a_t_bspline_curve_html_ae87887e721ef546d94538e41780fa5e6"><div class="ttname"><a href="../../d3/df5/struct_a_t_bspline_curve.html#ae87887e721ef546d94538e41780fa5e6">ATBsplineCurve::SetReWeightedPole</a></div><div class="ttdeci">ATGEOSET_EXPORT bool SetReWeightedPole(size_t index, XPoint3dCR value, bool reverse=false)</div><div class="ttdoc">根据索引设定极点，如果索引超出范围，返回false</div></div>
<div class="ttc" id="astruct_a_t_bspline_curve_html_afd6e6576b126124963f704e7587db48c"><div class="ttname"><a href="../../d3/df5/struct_a_t_bspline_curve.html#afd6e6576b126124963f704e7587db48c">ATBsplineCurve::GetPoles</a></div><div class="ttdeci">ATGEOSET_EXPORT void GetPoles(xvector&lt; XPoint3d &gt; &amp;outData) const</div><div class="ttdoc">获取所有极点</div></div>
<div class="ttc" id="astruct_x_point3d_html"><div class="ttname"><a href="../../d5/d5b/struct_x_point3d.html">XPoint3d</a></div><div class="ttdoc">3D空间点类</div><div class="ttdef"><b>Definition:</b> XPoint3d.h:12</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
